

while True:
    age = input('请输入你的年龄(输入quit退出): ')
    if age == "quit":
        break
    age = int(age)
    if age < 3:
        print("you are free")
    elif age < 12:
        print("you need to pay 10 dallars for it")
    elif age >= 12:
        print('you need to pay 15 dallar for it')
